<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OpenMed - 开源医疗NER模型库</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #2d3748;
            line-height: 1.6;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        }
        .text-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .first-letter:first-letter {
            font-size: 3.5rem;
            font-weight: bold;
            float: left;
            line-height: 1;
            margin-right: 0.5rem;
            color: #4f46e5;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white">
        <div class="container mx-auto px-6 py-20 lg:py-32 max-w-6xl">
            <div class="flex flex-col lg:flex-row items-center">
                <div class="lg:w-1/2 mb-12 lg:mb-0">
                    <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight">OpenMed</h1>
                    <h2 class="text-xl md:text-2xl lg:text-3xl font-medium mb-8 text-indigo-100">释放医疗AI的开放创新力量</h2>
                    <p class="text-lg md:text-xl mb-8 text-indigo-100 max-w-lg">开源社区项目，提供380+医疗领域命名实体识别(NER)模型，助力临床和生物医学文本分析。</p>
                    <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
                        <a href="https://huggingface.co/OpenMed" target="_blank" class="bg-white text-indigo-600 hover:bg-indigo-50 px-8 py-3 rounded-lg font-semibold text-center transition duration-300 shadow-lg">
                            <i class="fas fa-rocket mr-2"></i>立即体验
                        </a>
                        <a href="#features" class="bg-indigo-800 hover:bg-indigo-700 px-8 py-3 rounded-lg font-semibold text-center transition duration-300 shadow-lg">
                            <i class="fas fa-info-circle mr-2"></i>了解更多
                        </a>
                    </div>
                </div>
                <div class="lg:w-1/2 flex justify-center">
                    <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1753276371231-5759f3bc-ea17-4c4c-8a6a-c49f23ae9975.png" alt="OpenMed 医疗AI模型" class="rounded-xl shadow-2xl max-w-full h-auto border-4 border-white border-opacity-20">
                </div>
            </div>
        </div>
    </section>

    <!-- Problem Section -->
    <section class="py-20 bg-white">
        <div class="container mx-auto px-6 max-w-6xl">
            <div class="mb-16 text-center">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">它能解决什么问题?</h2>
                <div class="w-24 h-1 bg-indigo-600 mx-auto"></div>
            </div>
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <div class="bg-gray-100 p-8 rounded-xl shadow-lg">
                        <div class="flex items-center mb-4">
                            <div class="feature-icon w-12 h-12 rounded-full flex items-center justify-center text-white mr-4">
                                <i class="fas fa-exclamation-triangle text-xl"></i>
                            </div>
                            <h3 class="text-xl font-semibold text-gray-800">医疗AI面临的挑战</h3>
                        </div>
                        <ul class="space-y-3">
                            <li class="flex items-start">
                                <i class="fas fa-dollar-sign text-red-500 mt-1 mr-3"></i>
                                <span>高昂的许可费用阻碍中小团队获取</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-lock text-red-500 mt-1 mr-3"></i>
                                <span>闭源模型缺乏透明性</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-sitemap text-red-500 mt-1 mr-3"></i>
                                <span>领域覆盖有限，难以满足多样化需求</span>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="md:w-1/2 md:pl-10">
                    <div class="bg-indigo-50 p-8 rounded-xl shadow-lg border-l-4 border-indigo-600">
                        <div class="flex items-center mb-4">
                            <div class="feature-icon w-12 h-12 rounded-full flex items-center justify-center text-white mr-4">
                                <i class="fas fa-lightbulb text-xl"></i>
                            </div>
                            <h3 class="text-xl font-semibold text-gray-800">OpenMed的解决方案</h3>
                        </div>
                        <p class="first-letter text-gray-700 mb-4">医疗AI常受限于高昂的许可费用、闭源模型的不透明性及有限的领域覆盖。中小团队和研究机构难以获取高质量模型，阻碍创新与应用。这个工具就是来解决这些问题的，通过开源免费的NER模型加速医疗研究与临床应用。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section id="features" class="py-20 bg-gray-50">
        <div class="container mx-auto px-6 max-w-6xl">
            <div class="mb-16 text-center">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">核心功能概述</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">高性能医疗NER模型的全面解决方案</p>
                <div class="w-24 h-1 bg-indigo-600 mx-auto mt-4"></div>
            </div>
            
            <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Feature 1 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-bullseye text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">多领域NER模型</h3>
                    <p class="text-gray-600">覆盖药物、疾病、基因、解剖等，提供精准实体识别，F1分数高达0.998。</p>
                </div>
                
                <!-- Feature 2 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-sliders-h text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">多样模型规模</h3>
                    <p class="text-gray-600">从65M到568M参数，适配不同硬件需求，满足各种应用场景。</p>
                </div>
                
                <!-- Feature 3 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-plug text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">Hugging Face集成</h3>
                    <p class="text-gray-600">通过Transformers库一键加载，简化开发流程，快速集成到现有系统。</p>
                </div>
                
                <!-- Feature 4 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-database text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">数据集支持</h3>
                    <p class="text-gray-600">基于13个医疗数据集训练，覆盖广泛生物医学场景，确保模型专业性。</p>
                </div>
                
                <!-- Feature 5 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-search text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">实时模型筛选</h3>
                    <p class="text-gray-600">Model Discovery App支持按实体类型快速查找最适合的模型。</p>
                </div>
                
                <!-- Feature 6 -->
                <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                    <div class="feature-icon w-14 h-14 rounded-xl flex items-center justify-center text-white mb-6">
                        <i class="fas fa-chart-line text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3">高性能表现</h3>
                    <p class="text-gray-600">性能超越商业模型36%，开源透明，Apache 2.0许可鼓励社区贡献。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Use Cases Section -->
    <section class="py-20 bg-white">
        <div class="container mx-auto px-6 max-w-6xl">
            <div class="mb-16 text-center">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">使用场景</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">OpenMed在医疗AI领域的多样化应用</p>
                <div class="w-24 h-1 bg-indigo-600 mx-auto mt-4"></div>
            </div>
            
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Use Case 1 -->
                <div class="bg-indigo-50 p-8 rounded-xl border-l-4 border-indigo-600">
                    <div class="flex items-center mb-4">
                        <div class="bg-indigo-100 p-3 rounded-lg mr-4">
                            <i class="fas fa-file-medical text-indigo-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">临床记录分析</h3>
                    </div>
                    <p class="text-gray-700">从患者记录中提取药物和疾病信息，优化诊断工具，提高电子病历处理效率。</p>
                </div>
                
                <!-- Use Case 2 -->
                <div class="bg-indigo-50 p-8 rounded-xl border-l-4 border-indigo-600">
                    <div class="flex items-center mb-4">
                        <div class="bg-indigo-100 p-3 rounded-lg mr-4">
                            <i class="fas fa-pills text-indigo-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">药物研究</h3>
                    </div>
                    <p class="text-gray-700">识别文献中的化学物质和基因，支持药物开发和交互分析，加速新药研发。</p>
                </div>
                
                <!-- Use Case 3 -->
                <div class="bg-indigo-50 p-8 rounded-xl border-l-4 border-indigo-600">
                    <div class="flex items-center mb-4">
                        <div class="bg-indigo-100 p-3 rounded-lg mr-4">
                            <i class="fas fa-dna text-indigo-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">癌症研究</h3>
                    </div>
                    <p class="text-gray-700">提取肿瘤相关基因实体，加速肿瘤学知识图谱构建，助力精准医疗研究。</p>
                </div>
            </div>
            
            <div class="mt-12 bg-indigo-100 p-8 rounded-xl">
                <h3 class="text-2xl font-semibold mb-4 text-center text-indigo-800">如何将OpenMed融入你的数据分析流程?</h3>
                <div class="mermaid">
                    graph TD
                    A[医疗文本数据] --> B[选择OpenMed NER模型]
                    B --> C[实体识别处理]
                    C --> D[提取关键信息]
                    D --> E[数据分析与应用]
                    E --> F[研究洞察与决策]
                </div>
            </div>
        </div>
    </section>

    <!-- Advantages Section -->
    <section class="py-20 bg-gray-50">
        <div class="container mx-auto px-6 max-w-6xl">
            <div class="mb-16 text-center">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">优势与特色</h2>
                <div class="w-24 h-1 bg-indigo-600 mx-auto"></div>
            </div>
            
            <div class="bg-white rounded-xl shadow-lg overflow-hidden">
                <div class="md:flex">
                    <div class="md:w-1/2 bg-indigo-600 p-10 text-white">
                        <h3 class="text-2xl font-bold mb-6">OpenMed的优势</h3>
                        <ul class="space-y-4">
                            <li class="flex items-start">
                                <i class="fas fa-check-circle text-indigo-200 mr-3 mt-1"></i>
                                <div>
                                    <h4 class="font-semibold">完全免费开源</h4>
                                    <p class="text-indigo-100">Apache 2.0许可，无隐藏费用</p>
                                </div>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check-circle text-indigo-200 mr-3 mt-1"></i>
                                <div>
                                    <h4 class="font-semibold">高性能</h4>
                                    <p class="text-indigo-100">超越商业模型36%的性能表现</p>
                                </div>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check-circle text-indigo-200 mr-3 mt-1"></i>
                                <div>
                                    <h4 class="font-semibold">广泛覆盖</h4>
                                    <p class="text-indigo-100">13个医疗数据集训练，380+模型</p>
                                </div>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check-circle text-indigo-200 mr-3 mt-1"></i>
                                <div>
                                    <h4 class="font-semibold">社区驱动</h4>
                                    <p class="text-indigo-100">鼓励贡献，持续更新和改进</p>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="md:w-1/2 p-10">
                        <h3 class="text-2xl font-bold mb-6 text-gray-800">注意事项</h3>
                        <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6">
                            <div class="flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-exclamation-circle text-yellow-500"></i>
                                </div>
                                <div class="ml-3">
                                    <p class="text-sm text-yellow-700">
                                        <span class="font-medium">GPU需求:</span> 部分大模型需要较高GPU资源才能运行
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-blue-50 border-l-4 border-blue-400 p-4">
                            <div class="flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-info-circle text-blue-500"></i>
                                </div>
                                <div class="ml-3">
                                    <p class="text-sm text-blue-700">
                                        <span class="font-medium">语言支持:</span> 目前主要支持英语文本，非英语文本支持有限
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Getting Started Section -->
    <section class="py-20 bg-white">
        <div class="container mx-auto px-6 max-w-6xl">
            <div class="mb-16 text-center">
                <h2 class="text-3xl md:text-4xl font-bold mb-4 text-gray-800">上手指南</h2>
                <p class="text-lg text-gray-600 max-w-2xl mx-auto">5分钟快速开始使用OpenMed</p>
                <div class="w-24 h-1 bg-indigo-600 mx-auto mt-4"></div>
            </div>
            
            <div class="bg-gray-800 rounded-xl overflow-hidden">
                <div class="p-6 bg-gray-900 flex items-center">
                    <div class="flex space-x-2">
                        <div class="w-3 h-3 rounded-full bg-red-500"></div>
                        <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                        <div class="w-3 h-3 rounded-full bg-green-500"></div>
                    </div>
                    <div class="ml-4 text-sm text-gray-400">terminal</div>
                </div>
                <div class="p-6 text-gray-100 font-mono">
                    <div class="mb-4">
                        <p class="text-green-400"># 1. 安装Python和依赖库</p>
                        <p class="text-gray-400 ml-4">pip install transformers datasets</p>
                    </div>
                    <div class="mb-4">
                        <p class="text-green-400"># 2. 访问模型库选择模型</p>
                        <p class="text-gray-400 ml-4">https://huggingface.co/OpenMed</p>
                    </div>
                    <div class="mb-4">
                        <p class="text-green-400"># 3. 加载选择的模型</p>
                        <p class="text-gray-400 ml-4">from transformers import pipeline</p>
                        <p class="text-gray-400 ml-4">ner = pipeline("token-classification", model="OpenMed/OpenMed-NER-PharmaDetect-SuperClinical-434M")</p>
                    </div>
                    <div class="mb-4">
                        <p class="text-green-400"># 4. 输入文本进行测试</p>
                        <p class="text-gray-400 ml-4">ner("Patient prescribed 10mg aspirin.")</p>
                    </div>
                    <div>
                        <p class="text-green-400"># 5. 查看提取的实体并优化配置</p>
                    </div>
                </div>
            </div>
            
            <div class="mt-8 text-center">
                <p class="text-gray-600 mb-4">OpenMed完全免费，无需注册，基于Apache 2.0许可。</p>
                <p class="text-gray-600">需安装Python和Hugging Face Transformers库，部分模型需GPU支持。</p>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="py-20 hero-gradient">
        <div class="container mx-auto px-6 max-w-4xl text-center">
            <h2 class="text-3xl md:text-4xl font-bold text-white mb-6">准备好开启医疗AI创新之旅了吗?</h2>
            <p class="text-xl text-indigo-100 mb-8">加入数千名医疗研究者和开发者，使用OpenMed加速您的医疗文本分析项目</p>
            <a href="https://huggingface.co/OpenMed" target="_blank" class="inline-block bg-white text-indigo-600 hover:bg-indigo-50 px-8 py-3 rounded-lg font-semibold transition duration-300 shadow-lg">
                <i class="fas fa-arrow-right mr-2"></i>立即访问OpenMed
            </a>
        </div>
    </section>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>